import axios from "../utils/http"
export default {
    getDeatils(data={}){
        return axios({
            url: "/api/product/getDetails",
            method: "POST",
            data: data
        })
    },

    getDetailsPicture(data={}){
        return axios({
            url: "/api/product/getDetailsPicture",
            method: "POST",
            data: data
        })
    },
    addCollects(data={}){
	    return axios({
	        url: "/api/user/collect/addCollect",
	        method: "POST",
	        data: data
	    })
	},
    addShoppingCart(data={}){
	    return axios({
	        url: "/api/user/shoppingCart/addShoppingCart",
	        method: "POST",
	        data: data
	    })
	},
}